package com.zy.explore.sys.infrastructure.third.dingtalk.frm;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import javax.validation.constraints.NotBlank;

/**
 * description 所有钉钉请求的公共参数
 *
 * @author 🇨🇳中国印🇨🇳
 * @date 2021年07月08日 01:18
 */
@ApiModel("所有钉钉请求的公共参数")
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
public class TokenFrm {

    @ApiModelProperty(value = "调用钉钉接口凭证令牌", required = true, example = "xxxx")
    @NotBlank(message = "access_token不能为空")
    private String access_token;

}
